import { $post, $get } from "@/api/request";

// 首页
export function getMobileStatisticsOfIndex(data) {
  return $post({
    url: "/alarm/alarmMobile/getMobileStatisticsOfIndex", // '/Statistics/getMobileStatisticsOfIndex',
    data
  });
}
// 统计信息
export function getMobileStatisticsOfAlarm(data) {
  return $post({
    url: "/alarm/alarmMobile/getMobileStatisticsOfAlarm", // "/Statistics/getMobileStatisticsOfAlarm",
    data
  });
}

export function weChatLogin(code) {
  return $get({
    url: "/user/ucenter/weChat/login/" + code, // "/Statistics/getMobileStatisticsOfAlarm",
  });
}
